<?php
namespace app\zw_admin\controller;
use \think\Controller;
use think\Db;
// use think\Controller;
use think\Session;
use think\Request;
// use app\zw_admin\controller\ComController;
class IndexController extends ComController
{
	//首页展示
    public function index()
    {
        $s_count =  Db::name('commodity')->where('pid','neq','0')->count();
        // dump($s_number);
        // exit;
        $this->assign('s_count',$s_count);
        return $this->fetch('index');
    }


    //成员列表
    public function users()
    {
    	return $this->fetch('users');
    }



}
